home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr05
/
xnot12a.zip
/
NOTALARM.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-05-20
|
446b
|
19 lines
#include "jam.h"
int PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow)
HANDLE hInstance; /* current instance */
HANDLE hPrevInstance; /* previous instance */
LPSTR lpCmdLine;
int nCmdShow;
{
char name[256];
if (*lpCmdLine)
{
MessageBeep((UINT)-1);
strcpy(name, AppName);
strcat(name, " Alarm");
MessageBox(0, lpCmdLine, name, MB_OK | MB_ICONSTOP);
}
return(1);
}